package com.ny.zmb.openapi.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "pm_cloudstore")
public class PmCloudstore implements Serializable {

    @TableField
    private Integer id ;

    private String name;

    private String icon;

    private String mark;

    @Builder.Default
    private Integer status = 1;

    private Integer addTime;

    private Integer updateTime;

    private BigDecimal fee;

    private Integer dayLimit;

    private BigDecimal yeji;

    private Integer storeId;

    private Integer userId;

    private Integer type;

    private Integer endTime;

    private String param;

    private Integer pid;

    @TableField(exist = false)
    private List<PmCloudstore> children;

}
